using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Xml.Serialization;

namespace ClassLibrary
{
    public partial class ImageData
    {
        public string ImageId { get; set; }
        public string UserId { get; set; }
        public string ImagePath { get; set; }
        public int PatientId { get; set; }
        public DateTime CreationDate { get; set; }
        public string Bodypart { get; set; }
        public string ReasonForVisit { get; set; }
        public string Diagnosis { get; set; }
        public bool ConsentForResearch { get; set; }
        public bool ConsentForEducation { get; set; }
        public bool ConsentForStorage { get; set; }

        public ImageData(string Imageid, string Guid, string ImagePath, int PatientId, string Bodypart, string ReasonForVisit, string Diagnosis, bool ConsentForResearch, bool ConsentForEducation, bool ConsentForStorage)
        {
            this.ImageId = ImageId;
            this.UserId = UserId;
            this.ImagePath = ImagePath;
            this.PatientId = PatientId;
            this.CreationDate = DateTime.Now;
            this.Bodypart = Bodypart;
            this.ReasonForVisit = ReasonForVisit;
            this.Diagnosis = Diagnosis;
            this.ConsentForResearch = ConsentForResearch;
            this.ConsentForEducation = ConsentForEducation;
            this.ConsentForStorage = ConsentForStorage;
        }

        public ImageData() { }
    }
}
